package com.jf.test.mvp.base

import androidx.lifecycle.ViewModel
import androidx.lifecycle.ViewModelProvider

/**
 * @Class: BaseViewModelFactory
 * @Description:
 * @author: github.com/jackyflame
 * @Date: 2021/3/10
 */
class BaseViewModelFactory : ViewModelProvider.Factory{

    override fun <T : ViewModel?> create(modelClass: Class<T>): T {
        return modelClass.newInstance();
    }
}